YAMATAKE DCP Series Protocol

 

YAMATAKE DCP Series is driver to communicate with DCP Series(550 etc) controller of Yamatake-Honeywell Co. in Japan.

 
1. Read settings

 

<Figure 1> is read setting example of YAMATAKE DCP Series(550 etc) protocol.

<Figure 1> Read setting example of YAMATAKE DCP Series protocol
 

Device Setting of <Figure 1> are input, Com Port(COM1), Com Baud(9600), Parity Bit(2), Data Bit(8), Stop Bit(1).

 

Read schedule example)

Memory Station Data Type Read start address Save start address Read size
READ, 1, DATA, 301, 0, 32,
READ, 1, DATA, 401, 32, 32,
READ, 1, DATA, 501, 64, 32,

1) Station : Station number which set at controller.

              Station - 0 ~ 255 (Low byte), sub Station – High byte.

2) Data Type : Data type to read.

DATA - Read state value of general controller.

R_FILE – Read FILE data.

3) Read Start Address : Memory start address to read.

DATA – Memory start address to read. (Refer to <Table 1> or communication parameter table manual of controller)

R_FILE – FILE number to read.

4) Save Start Address for Communication Server : Saving start address of Communication Server.

5) Read Size : The number of items to read at a time or segment number of FILE.

DATA – The number of items to read,

R_FILE – Segment number of FILE.

Data Contents

Address of DCP 551

Address of DCP 552

Run Status

256 ~ 275

256 ~ 295

SETUP

301 ~ 390

301 ~ 390

PARA

401 ~ 490

401 ~ 500

PID

601 ~ 696

601 ~ 696

Event Conf.

501 ~ 596

501 ~ 596

Constant Value Control Setting

701 ~ 708

701 ~ 716

Pattern Status

1201 ~ 1207

1201 ~ 1207

Tag Name

1210 ~ 1605

1210 ~ 1605

PARA (DCP552)

-

1701 ~ 1720

PID for CH2 (DCP552)

-

1801 ~ 1896

Data for Synchronizing Operation (DCP552)

-

2001 ~ 2003

<Table 1> Entire data memory address of YAMATAKE DCP Series(Decimal)

If you click the icon  in protocol option part, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of YAMATAKE DCP Series protocol Option dialog box

You can set read schedule by using , , button and listbox of <Figure 2>.

<Figure 3> Example of YAMATAKE DCP Series protocol read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Write settings

Write to direct address of controller, regardless of SCAN File.

 

Digital Write

You can set or control DCP Series controller by using the digital write command.

Digital write setting parameters are as follows :

1) PORT : Connected PORT no.(0 ~ 255)

2) Station : Station number which set at controller.

           Station - 0 ~ 255 (Low byte), sub Station – High byte.

3) ADDRESS : Memory address to output, Save address for read FILE data, Order number of file name. (Decimal)

DATA, RUN, SET – Memory WORD address to output. Possible to write at printable area only. (Refer to <Table 1> or communication parameter table manual of controller)

R_FILE – WORD memory start address to save the read FILE data.

R_FILE2 – Order number of file name to save the read FILE data.

File name is saved at 'ProjectFolder\SCAN\file%04d.txt', and in this path %04 is order number of file name.

Ex) If setting is 'Extra1 : R_FILE2, ADDRESS : 0000', file name is ProjectFolder\SCAN\file0000.txt.

W_FILE – Order number to read when FILE data is output.

File name is saved at 'ProjectFolder\SCAN\file%04d.txt', and in this path %04 is order number of file name.

Ex) If setting is 'Extra1 : W_FILE, ADDRESS : 0001', file name is ProjectFolder\SCAN\file0001.txt.

4) Extra1 : Output area.

DATA – Output general memory data. (Read and calculate the previous data)

RUN – Output the Run Operation Bit.

SET – Output the general memory address data. (Output only the designated digital bit value)

R_FILE – Read FILE data and save to designated WORD memory.

R_FILE2 – Read FILE data and save to designated file('ProjectFolder\SCAN\file%04d.txt').

W_FILE – Read FILE data at designated file('ProjectFolder\SCAN\file%04d.txt'), and output the FILE contents.

5) Extra2 : Bit position or Program number.

DATA, RUN – Bit position number(no.0 ~ no.15).

R_FILE, R_FILE2, W_FILE – Program number.      Notice) Segment number is output value.

 

Ex 1) Port : 0, Station : 1, Address : 0301, Extra1 : DATA, Extra2 : 1

The setting parameter shown above is example of writing setting.

You can change(ON/OFF) the 2nd bit value of address no.301 of DCP Series controller.

 

Ex 2) Port : 0, Station : 1, Address : 0100, Extra1 : R_FILE, Extra2 : 1

The setting parameter shown above is example of writing setting.

If you output ON digital(no.1 Segment), it read no.1 Program ID of DCP Series controller and no.1 Segment FILE contents and save these read contents to WORD memory from address no.100.

 

Analog Write

You can set or control DCP Series controller by using the analog write command.

Analog write setting parameters are as follows :

1) PORT : Connected PORT no.(0 ~ 255)

2) Station : Station number which set at controller.

           Station - 0 ~ 255 (Low byte), sub Station – High byte.

3) ADDRESS : Memory address to output, Save address for read FILE data, Order number of file name. (Decimal)

DATA – Memory WORD address to output. Possible to write at printable area only. (Refer to <Table 1> or communication parameter table manual of controller)

R_FILE – WORD memory start address to save the read FILE data.

R_FILE2 – Order number of file name to save the read FILE data.

File name is saved at 'ProjectFolder\SCAN\file%04d.txt', and in this path %04 is order number of file name.

Ex) If setting is 'Extra1 : R_FILE2, ADDRESS : 0000', file name is ProjectFolder\SCAN\file0000.txt.

W_FILE – Order number to read when FILE data is output.

File name is saved at 'ProjectFolder\SCAN\file%04d.txt', and in this path %04 is order number of file name.

Ex) If setting is 'Extra1 : W_FILE, ADDRESS : 0001', file name is ProjectFolder\SCAN\file0001.txt.

4) Extra1 : Output area.

DATA – Output general memory data.

R_FILE – Read FILE data and save to designated WORD memory.

R_FILE2 – Read FILE data and save to designated file('ProjectFolder\SCAN\file%04d.txt').

W_FILE – Read FILE data at designated file('ProjectFolder\SCAN\file%04d.txt'), and output the FILE contents.

5) Extra2 : Program number.

DATA – Don't care.

R_FILE, R_FILE2, W_FILE – Program number.      Notice) Segment number is output value.

  

Ex 1) Port : 0, Station : 1, Address : 0302, Extra1 : DATA, Extra2 : Blank

The setting parameter shown above is example of writing setting.

After writing as analog, you can change CH1 Temperature Unit (address no.302) of DCP Series controller.

 

Ex 2) Port : 0, Station : 1, Address : 0200, Extra1 : R_FILE, Extra2 : 1

The setting parameter shown above is example of writing setting.

If you output analog value(no.1 Segment) as 1, it read no.1 Program ID of DCP Series controller and no.1 Segment FILE contents and save these read contents to WORD memory from address no.200.

 

Ex 3) Port:0, Station:1, Address:0001, Extra1:R_FILE2, Extra2:1

The setting parameter shown above is example of writing setting.

If you output analog value(no.1 Segment) as 1, it read no.1 Program ID of DCP Series controller and no.1 Segment FILE contents and save these read FILE contents to 'ProjectFolder\SCAN\file0001.txt'.

 

Ex 4) Port:0, Station:1, Address:0001, Extra1:R_FILE2, Extra2:1

The setting parameter shown above is example of writing setting.

If you output analog value(no.1 Segment) as 1, it read no.1 Program ID of DCP Series controller and no.1 Segment FILE contents and save these read FILE contents to 'ProjectFolder\SCAN\file0001.txt'.

 

3. Communication cable connection and power connection

 

Communication cable connection between YAMATAKE DCP Series controller and computer.

 

RS-422/485 communication cable connection

Connect no.60(SDA : T+), no.61(SDB : T-), no.62(RDA : R+) and no.63(RDB : R-) of YAMATAKE DCP Series's back side terminal block(Refer to <Figure 4>) with (485 communication terminal) R+, R-, T+, T- of computer side, in order.

 

YAMATAKE UT Series side            Computer side

No.60 terminal (SDA : T+) ------------------------- R+

No.61 terminal (SDB : T-) ------------------------- R-

No.62 terminal (RDA : R+) ------------------------- T+

No.63 terminal (RDB : R-) ------------------------- T-

 

RS-232C communication cable connection

Connect no.61(SD : Tx), no.63(RD : Rx) and no.64(SG) terminal of YAMATAKE DCP Series's back side terminal block(Refer to <Figure 4>) with Rx, Tx, Ground of computer side, in order.

 

YAMATAKE UT Series side             Computer side(when 9 pin terminal)

No.61 terminal (SD : Tx) ------------------------- Rx     (No.2 pin)

No.63 terminal (RD : Rx) ------------------------- Tx     (No.3 pin)

No.65 terminal (SG )    ------------------------- Ground (No.5 pin)

<Figure 4> Back side terminal block of YAMATAKE DCP550
   

Basic power connection of YAMATAKE DCP Series) Connect basic power to no.39 and no.40 of <Figure 4>. (AC 100 ~ 240V  50/60Hz)

<Figure 5> Side terminal diagram of YAMATAKE DCP 550

<Figure 6> Front side of YAMATAKE DCP 500 controller
 

Set the Meter Address and Communication speed

You can set station number and communication speed etc of controller by using the front side control button of YAMATAKE DCP Series(Refer to <Figure 6>).